package cn.deepmax.spring.cloud.system.product.service;


import cn.deepmax.spring.cloud.system.product.entity.Product;
import org.springframework.data.domain.Page;

import java.util.Optional;

public interface ProductService {


    Optional<Product> findProduct(Long id);


    Page<Product> findProductList(String name, Integer page, Integer size);

}
